<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>神秘盲盒 - 惊喜等你来</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>神秘盲盒</h1>
            <p class="subtitle">点击盲盒，开启你的幸运时刻！</p>
            <div class="game-info">
                <p class="chances">剩余抽取次数：<span id="remainingChances">3</span></p>
                <button id="resetGame" class="reset-button">重新开始</button>
            </div>
        </header>
        
        <div class="mystery-boxes">
            <!-- 盲盒将由JavaScript动态生成 -->
        </div>
    </div>

    <!-- 奖品展示弹窗 -->
    <div class="modal" id="prizeModal">
        <div class="modal-content">
            <div class="modal-header">
                <h2>🎉 恭喜你中奖了！</h2>
            </div>
            <div class="modal-body">
                <p>你获得了：</p>
                <div class="prize-name"></div>
                <div class="prize-image-container">
                    <img class="prize-image" src="" alt="奖品图片">
                </div>
            </div>
            <button class="close-modal">继续探索</button>
        </div>
    </div>

    <script src="script.js"></script>
</body>
</html>